package com.yh.bean;

public class Plan {

	private int pl_id; // 主键
	private int pl_userid; // 用户Id
	private int pl_dept; // 用户部门
	private String pl_name; // 计划名字
	private String pl_content; // 计划内容
	private String pl_starttime;// 计划开始时间
	private String pl_endtime; // 计划结束时间
	private String pl_state; // 状态

	private String pl_username; // 用户姓名

	public Plan() {
	}
	
	
	public Plan(int pl_id, int pl_userid, int pl_dept, String pl_name,
			String pl_content, String pl_starttime, String pl_endtime,
			String pl_state, String pl_username) {
		super();
		this.pl_id = pl_id;
		this.pl_userid = pl_userid;
		this.pl_dept = pl_dept;
		this.pl_name = pl_name;
		this.pl_content = pl_content;
		this.pl_starttime = pl_starttime;
		this.pl_endtime = pl_endtime;
		this.pl_state = pl_state;
		this.pl_username = pl_username;
	}
	
	public int getPl_id() {
		return pl_id;
	}

	public void setPl_id(int pl_id) {
		this.pl_id = pl_id;
	}

	public int getPl_userid() {
		return pl_userid;
	}

	public void setPl_userid(int pl_userid) {
		this.pl_userid = pl_userid;
	}

	public int getPl_dept() {
		return pl_dept;
	}

	public void setPl_dept(int pl_dept) {
		this.pl_dept = pl_dept;
	}

	public String getPl_name() {
		return pl_name;
	}

	public void setPl_name(String pl_name) {
		this.pl_name = pl_name;
	}

	public String getPl_content() {
		return pl_content;
	}

	public void setPl_content(String pl_content) {
		this.pl_content = pl_content;
	}

	public String getPl_starttime() {
		return pl_starttime;
	}

	public void setPl_starttime(String pl_starttime) {
		this.pl_starttime = pl_starttime;
	}

	public String getPl_endtime() {
		return pl_endtime;
	}

	public void setPl_endtime(String pl_endtime) {
		this.pl_endtime = pl_endtime;
	}

	public String getPl_state() {
		return pl_state;
	}

	public void setPl_state(String pl_state) {
		this.pl_state = pl_state;
	}

	public String getPl_username() {
		return pl_username;
	}

	public void setPl_username(String pl_username) {
		this.pl_username = pl_username;
	}

	@Override
	public String toString() {
		return "Plan [pl_id=" + pl_id + ", pl_userid=" + pl_userid
				+ ", pl_dept=" + pl_dept + ", pl_name=" + pl_name
				+ ", pl_content=" + pl_content + ", pl_starttime="
				+ pl_starttime + ", pl_endtime=" + pl_endtime + ", pl_state="
				+ pl_state + ", pl_username=" + pl_username + "]";
	}

}
